package com.hx.voice.recognition.common.msg;

import lombok.Data;

/**
 * @descripe：
 * @company：南京华讯方舟通讯设备有限公司
 * @author：zhoujinbing
 * @time：2019/6/11 11:02
 * @version：V1.0
 */
@Data
public class ObjectRestResponse<T> extends BaseResponse {

    T data;

    boolean rel;

    public ObjectRestResponse rel(boolean rel)
    {
        this.setRel(rel);
        return this;
    }

    public ObjectRestResponse data(T data)
    {
        this.setData(data);
        return this;
    }

}